package com.loong.common.mybatis.mapper;

import tk.mybatis.mapper.common.*;
import tk.mybatis.mapper.common.special.InsertListMapper;

public interface Mapper<T> extends
        BaseMapper<T>,
        ConditionMapper<T>,
        IdsMapper<T>,
        InsertListMapper<T>,
        ExampleMapper<T>,
        RowBoundsMapper<T>,
        Marker {

//    @InsertProvider(type = BaseInsertProvider.class, method = "insertSelective")
//    @Options(useGeneratedKeys=true, keyProperty="id", keyColumn="id")
    void saveAndSetId(T model);
}
